@echo off
echo Stopping NettyTcpServer...
taskkill /f /im java.exe /fi "WINDOWTITLE eq NettyTcpServer*"
timeout /t 2 /nobreak >nul
echo NettyTcpServer stopped.
pause